package org.example.cloudapply.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.data.annotation.Id;

@Data
public class Admin {
    @Id
    private Long adminId;
    private String username;
    @JsonIgnore//让springmvc把当前对象转换为json字符串的时候，忽略password，
    private String passwordHash;

}